//
//  Music.h
//  音乐播放(AVFoundation版)
//
//  Created by dllo on 15/9/23.
//  Copyright (c) 2015年 直到世界的尽头. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>

@interface Music : NSObject

//创建播放歌曲类的对象
@property(nonatomic, strong)AVPlayer *myPlayer;
@property(nonatomic, strong)NSString *currentURL;
@property(nonatomic, strong)NSArray *urlArray;
+(Music *)shareInstance;
//@property(nonatomic, strong)MPMoviePlayerController
-(void)playMusicWith:(NSString *)urlString;

@end
